package com.zide.ams.domain.po;

import io.swagger.v3.oas.annotations.media.Schema;
import com.zide.common.core.domain.BaseEntity;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;


/**
 * 文章分类对象 ams_category
 * 
 * @author zide
 * @date 2024-04-29
 */
@TableName("ams_category")
@Data
@Schema(name = "文章分类对象 ams_category")
public class AmsCategory extends BaseEntity{
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键id")
    @TableId(type = IdType.AUTO)
    private Long id;

    @Schema(description = "上级分类")
    private Long parentId;

    @Schema(description = "分类名称")
    private String name;

    @Schema(description = "点击次数")
    private Long clickVolume;

    @Schema(description = "排序")
    private Integer sorts;

    @Schema(description = "图标")
    private String icon;

    @TableLogic
    private Integer deleted;

    private Integer status;
}
